#define _CRT_SECURE_NO_WARNINGS 1
#include"string.h"
namespace itimate
{
	//void test01()
	//{
	//	string s1("ldw");
	//	s1.push_back('c');
	//	s1 += 'h';
	//	cout << s1.c_str() << endl;
	//	s1.append(" hellow");
	//	s1 += "fffff";
	//	cout << s1.c_str() << endl;
	//	cout <<"s1.size()==" << s1.size() << " " << "s1.capacity()==" << s1.capacity() << endl;
	//	s1.resize(30,'k');
	//	cout << s1.c_str() << endl;
	//	cout << "s1.size()==" << s1.size() << " " << "s1.capacity()==" << s1.capacity() << endl;
	//	s1.clear();
	//	cout << s1.size()<< endl;
	//}
	void test02()
	{
		string s1("hellow");
		string s2=s1;
		cout << s2.c_str() << endl;
	}
}
int main()
{
	itimate::test02();
	return 0;
}